package entities

type RoleAllocatedPageListReq struct {
	PageListReq
	RoleId      int64  `json:"roleId" form:"roleId"`
	UserName    string `json:"userName" form:"userName"`
	PhoneNumber string `json:"phonenumber" form:"phonenumber"`
}

type RolePageListReq struct {
	PageListReq
	RoleName string `json:"roleName" form:"roleName"`
	RoleKey  string `json:"roleKey" form:"roleKey"`
}

type RoleSaveReq struct {
	RoleId            int64   `json:"roleId" form:"roleId"`
	DeptCheckStrictly bool    `json:"deptCheckStrictly" form:"deptCheckStrictly"`
	DeptIds           []int64 `json:"deptIds" form:"deptIds"`
	MenuCheckStrictly bool    `json:"menuCheckStrictly" form:"menuCheckStrictly"`
	MenuIds           []int64 `json:"menuIds" form:"menuIds"`
	DataScope         string  `json:"dataScope" form:"dataScope"`
	Remark            string  `json:"remark" form:"remark"`
	RoleKey           string  `json:"roleKey" form:"roleKey"`
	RoleName          string  `json:"roleName" form:"roleName"`
	Status            string  `json:"status" form:"status"`
	RoleSort          *int64  `json:"roleSort" form:"roleSort"`
}
